package com.ruoyi.mes.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.annotation.Excel;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.util.Date;
import java.util.List;

/**
 * @author：coderChen date：2024/5/28 15:22
 * description：
 */
public class DeliverDetailVo {
    /** 销售员 */
    private String createdBy;

    /** 客户名称 */
    private String name;

    /** 联系人 */
    private String contact;

    /** 联系人号码 */
    private Long contactNumber;

    /** 联系人地址（收货地址） */
    private String address;


    /** 客户id */
    private Long custId;


    /** 出库数量 */
    @Excel(name = "出库数量")
    private Long strmNum;


    /** 以下为产品列表字段 */

    /** 销售订单编号 */
    private String orderSn;

    /** 签订日期 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date signDate;

    /** 交货日期 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date deliverDate;

    /** 产品编码 */
    private String proSn;

    /** 产品名称 */
    private String proName;

    /** 发货数量 */
    private Long deliverNum;

    /** 需求数量 */
    private Long deviNum;

    private Long proId;

    private Long orderId;

    public Long getOrderId() {
        return orderId;
    }

    public void setOrderId(Long orderId) {
        this.orderId = orderId;
    }

    public Long getProId() {
        return proId;
    }

    public void setProId(Long proId) {
        this.proId = proId;
    }

    public void setCreatedBy(String createdBy)
    {
        this.createdBy = createdBy;
    }

    public String getCreatedBy()
    {
        return createdBy;
    }
    public void setName(String name)
    {
        this.name = name;
    }

    public String getName()
    {
        return name;
    }
    public void setContactNumber(Long contactNumber)
    {
        this.contactNumber = contactNumber;
    }
    public String getContact() {
        return contact;
    }

    public void setContact(String contact) {
        this.contact = contact;
    }

    public Long getContactNumber()
    {
        return contactNumber;
    }
    public void setAddress(String address)
    {
        this.address = address;
    }

    public String getAddress()
    {
        return address;
    }
    public void setOrderSn(String orderSn)
    {
        this.orderSn = orderSn;
    }

    public String getOrderSn()
    {
        return orderSn;
    }
    public void setSignDate(Date signDate)
    {
        this.signDate = signDate;
    }

    public Date getSignDate()
    {
        return signDate;
    }
    public void setDeliverDate(Date deliverDate)
    {
        this.deliverDate = deliverDate;
    }

    public Date getDeliverDate()
    {
        return deliverDate;
    }
    public void setProSn(String proSn)
    {
        this.proSn = proSn;
    }

    public String getProSn()
    {
        return proSn;
    }
    public String getProName() {
        return proName;
    }

    public void setProName(String proName) {
        this.proName = proName;
    }
    public Long getDeliverNum() {
        return deliverNum;
    }

    public void setDeliverNum(Long deliverNum) {
        this.deliverNum = deliverNum;
    }
    public void setDeviNum(Long deviNum)
    {
        this.deviNum = deviNum;
    }

    public Long getDeviNum()
    {
        return deviNum;
    }
    public Long getCustId() {
        return custId;
    }

    public void setCustId(Long custId) {
        this.custId = custId;
    }

    public Long getStrmNum() {
        return strmNum;
    }

    public void setStrmNum(Long strmNum) {
        this.strmNum = strmNum;
    }
    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("orderSn", getOrderSn())
                .append("signDate", getSignDate())
                .append("deliverDate", getDeliverDate())
                .append("createdBy", getCreatedBy())
                .append("name",getName())
                .append("proName",getProName())
                .append("contact",getContact())
                .append("contactNumber",getContactNumber())
                .append("address",getAddress())
                .append("proSn",getProSn())
                .append("deliver_num",getDeliverNum())
                .append("deviNum",getDeviNum())
                .toString();
    }

}
